import request from '@/utils/request'

// 查询赛事管理列表
export function Homelist() {
  return request({
    url: '/prize/prize/Homelist',
    method: 'get'
  })
}
// 查询公告列表
export function listNotice(query) {
  return request({
    url: '/system/notice/list',
    method: 'get',
    params: query
  })
}
//兑换
export function addOrder(data) {
  return request({
    url: '/records/records',
    method: 'post',
    data: data
  })
}
// 查询评论管理列表
export function listComment(query) {
  return request({
    url: '/comment/comment/list',
    method: 'get',
    params: query
  })
}
